package ExceptionTest;

import java.io.File;

public class Test06 {
    public static void main(String[] args) {
        File f = new File("E://a.txt");
        //编译时加查的异常异常--checkedException
        try {
            f.createNewFile();
        }catch (Exception e){
            e.printStackTrace();
        }

    }
}
